package com.traveldesign.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
/**
 * <p>
 * 帖子信息
 * </p>
 *
 * @author wangwang
 * @since 2025-02-27
 */
@Data
@ApiModel(value = "Post对象", description = "帖子信息")
public class Post implements Serializable {

    private static final long serialVersionUID = 1L;

    private Integer id;

    /**
     * 标题
     */
    @ApiModelProperty("标题")
    private String title;

    /**
     * 简介
     */
    @ApiModelProperty("简介")
    private String remark;

    /**
     * 内容
     */
    @ApiModelProperty("内容")
    private String content;

    /**
     * 发布人id
     */
    @ApiModelProperty("发布人id")
    private Integer pid;

    /**
     * 发布时间
     */
    @ApiModelProperty("发布时间")
    private String time;

    /**
     * 发布人头像
     */
    @ApiModelProperty("发布人头像")
    private byte[] avatar;


}
